<%@ page contentType="text/html; charset=utf-8" %>
<%@ include file="/WEB-INF/jsp/includeTaglib.jsp" %>
<%@page import="com.threeti.mecool.core.domain.model.sellinto.SellIntoStatus" %>
<%@page import="com.threeti.mecool.core.domain.model.sellinto.SellIntoExecutionStatus" %>
<table class="dbborder" width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr class="rowHead">
        <td height="20" nowrap align="center" class="globalTextBold">终端名称</td>
        <td height="20" nowrap align="center" class="globalTextBold">项目名称</td>
        <td height="20" nowrap align="center" class="globalTextBold">终端系统类型</td>
		<td height="20" nowrap align="center" class="globalTextBold">终端地址</td>
		<td height="20" nowrap align="center" class="globalTextBold">卖进情况</td>
		<td height="20" nowrap align="center" class="globalTextBold">执行日期</td>
		<td height="20" nowrap align="center" class="globalTextBold">堆头情况</td>
		<td height="20" nowrap align="center" class="globalTextBold">执行状态</td>
	</tr>
	<c:forEach var="o" items="${sellInto}" varStatus="status">
        <%--<a href="<c:url value='/report/sellIntoRate/reportList/7/${o.projectStore.channel.channel.code}.html' />">${o.projectStore.channel.channel.name}</a>--%>
        <tr class="rowClass">
            <td height="20" class="globalText">
                <a href="<c:url value='/report/sellIntoRate/reportList/7/${o.projectStore.channel.channel.code}.html' />">${o.projectStore.channel.channel.name}</a>
            </td>
            <td height="20" class="globalText">${o.projectStore.project.name}</td>
            <td height="20" class="globalText">${o.sysCategoryName}</td>
			<td height="20" class="globalText">${o.projectStore.channel.channel.address}</td>
			<td height="20" class="globalText"><c:choose><c:when test="${o.status=='IN_PROGRESS'}">卖进中</c:when><c:when test="${o.status=='SUCCESS'}">卖进成功</c:when><c:when test="${o.status=='CANT_BE_DONE'}">无法卖进</c:when><c:when test="${o.status=='CANCELED'}">取消</c:when></c:choose></td>
			<td height="20" class="globalText">${o.lastModified}</td>
			<td height="20" class="globalText">${o.categoryName}</td>
			<td height="20" class="globalText"><c:choose><c:when test="${o.executionStatus=='IN_PROGRESS'}">执行中</c:when><c:when test="${o.executionStatus=='CAN_BE_DONE_NEXT_WEEK'}">下周可执行</c:when></c:choose></td>
		</tr>
	</c:forEach>
</table>
<%@ include file="/WEB-INF/jsp/includePagination.jsp"%>
